<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<style type="text/css">
 
    .pre-photo {
	width: 120px;
	height: 120px;
	
	float: right;
	margin-left: 15px;
}
    
</style>
<div class='container'>
    <?php 
    if($model['moderator']=="") $model['moderator']=0;
     $sql=" select username from {{admin}} where admin_id in (".$model['moderator'].")";
     $row= Yii::app()->db->createCommand($sql)->queryAll();
     $moderator="";
     foreach ($row as $v) {
        $moderator.=$v['username'].",";
     }

     ?>
    
  <div class='big_img'>
    <div class="pre-photo">
        <img width="105" height="100" src="<?php echo Yii::Ex_listpic($model['icon']);?>" id="resume-photo">
    </div>
      <p>版块ID: <?php echo $model['forumid'];?></p>
       <p>版块名称: <?php echo $model['name'];?></p>
       <p>版主:   <?php echo $moderator;?></p>
        <p> 添加时间:  <?php echo date('Y-m-d H:i:s',$model['datetime']);?></p>
        <p> 帖子数:  <?php echo $model['posts'];?></p>
        <p> 关注数:  <?php echo $model['follows'];?></p>
         <p>版块介绍: <?php echo $model['intro'];?></p>
       
</div>
</div>